﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Details.aspx.vb" Inherits="TechJunkieProj.Details" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <link href='http://fonts.googleapis.com/css?family=Kaushan+Script|UnifrakturMaguntia|Satisfy' rel='stylesheet' type='text/css'>&nbsp;
       
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h1 class= "PageTitle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>Article</u></h1>
    <br /><br /><br /><br /><br /><br />
    <asp:ListView ID="ListView3" runat="server" DataSourceID="SqlDataSource1" >
        <AlternatingItemTemplate>
            <span style="">
            <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' CssClass = 'HighLight'/>
            
<br /></span>
        </AlternatingItemTemplate>
        <EditItemTemplate>
            <span style="">
            <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Title") %>' CssClass = 'HighLight' />
            <br />
            <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                Text="Update" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Cancel" />
            </span>
        </EditItemTemplate>
        <EmptyDataTemplate>
            <span>No data was returned.</span>
        </EmptyDataTemplate>
        <InsertItemTemplate>
            <span style="">
            <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Title") %>' CssClass = 'HighLight'/>
            <br />
            <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                Text="Insert" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Clear" />
            </span>
        </InsertItemTemplate>
        <ItemTemplate>
            <span style="">
            <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' CssClass = 'HighLight'/>
            
<br /></span>
        </ItemTemplate>
        <LayoutTemplate>
            <div ID="itemPlaceholderContainer" runat="server" style="">
                <span runat="server" id="itemPlaceholder" />
            </div>
            <div style="">
            </div>
        </LayoutTemplate>
        <SelectedItemTemplate>
            <span style=""><strong>Title:</strong>
            <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' CssClass = 'HighLight'/>
            
<br /></span>
        </SelectedItemTemplate>
    </asp:ListView>
    <p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            SelectCommand="SELECT [Title] FROM [SmartPhoneList] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <asp:ListView ID="ListView2" runat="server" DataSourceID="SqlDataSource4">
        <AlternatingItemTemplate>
            <span style="">Author:
            <asp:Label ID="AuthorLabel" runat="server" Text='<%# Eval("Author") %>' />
            <br />
            DateUpdated:
            <asp:Label ID="DateUpdatedLabel" runat="server" 
                Text='<%# Eval("DateUpdated") %>' />
            <br />
            <br />
            </span>
        </AlternatingItemTemplate>
        <EditItemTemplate>
            <span style="">Author:
            <asp:TextBox ID="AuthorTextBox" runat="server" Text='<%# Bind("Author") %>' />
            <br />
            DateUpdated:
            <asp:TextBox ID="DateUpdatedTextBox" runat="server" 
                Text='<%# Bind("DateUpdated") %>' />
            <br />
            <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                Text="Update" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Cancel" />
            <br />
            <br /></span>
        </EditItemTemplate>
        <EmptyDataTemplate>
            <span>No data was returned.</span>
        </EmptyDataTemplate>
        <InsertItemTemplate>
            <span style=""><b>Author:</b> &nbsp&nbsp&nbsp&nbsp&nbsp
            <asp:TextBox ID="AuthorTextBox" runat="server" Text='<%# Bind("Author") %>' />
            <br /><b>DateUpdated:</b> &nbsp&nbsp
            <asp:TextBox ID="DateUpdatedTextBox" runat="server" 
                Text='<%# Bind("DateUpdated") %>' />
            <br />
            <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                Text="Insert" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Clear" />
            <br /><br /></span>
        </InsertItemTemplate>
        <ItemTemplate>
            <span style=""><b>Author:</b> &nbsp&nbsp&nbsp&nbsp&nbsp
            <asp:Label ID="AuthorLabel" runat="server" Text='<%# Eval("Author") %>' />
            <br />
           <b>DateUpdated:</b> &nbsp&nbsp
            <asp:Label ID="DateUpdatedLabel" runat="server" 
                Text='<%# Eval("DateUpdated") %>' />
            <br />
            <br />
            </span>
        </ItemTemplate>
        <LayoutTemplate>
            <div ID="itemPlaceholderContainer" runat="server" style="">
                <span runat="server" id="itemPlaceholder" />
            </div>
            <div style="">
            </div>
        </LayoutTemplate>
        <SelectedItemTemplate>
            <span style="">Author:
            <asp:Label ID="AuthorLabel" runat="server" Text='<%# Eval("Author") %>' />
            <br />
            DateUpdated:
            <asp:Label ID="DateUpdatedLabel" runat="server" 
                Text='<%# Eval("DateUpdated") %>' />
            <br />
            <br />
            </span>
        </SelectedItemTemplate>
    </asp:ListView>
    <p>
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            SelectCommand="SELECT [Author], [DateUpdated] FROM [SmartPhoneList] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID2" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p></p>
    <p><b>Related Tags:</b>
        <asp:ListView ID="ListView4" runat="server" DataSourceID="SqlDataSource7" 
            GroupItemCount="10">
            <AlternatingItemTemplate>
                <td runat="server" style="">
                <asp:HyperLink ID = "Image" NavigateUrl='<%# Eval("Tags", "SearchByTagView.aspx?Tags={0}") %>' runat="server">
                    &nbsp;<asp:Label ID="TagsLabel" runat="server" Text='<%# Eval("Tags") %>' />
                  </asp:HyperLink><br /></td></AlternatingItemTemplate><EditItemTemplate>
                <td runat="server" style="">
                    Tags: <asp:TextBox ID="TagsTextBox" runat="server" Text='<%# Bind("Tags") %>' />
                    <br />
                    <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                        Text="Update" />
                    <br />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                        Text="Cancel" />
                    <br />
                </td>
            </EditItemTemplate>
            <EmptyDataTemplate>
                <table runat="server" style="">
                    <tr>
                        <td>
                            No realated tags found</td></tr></table></EmptyDataTemplate><EmptyItemTemplate>
                <td runat="server" />
            </EmptyItemTemplate>
            <GroupTemplate>
                <tr ID="itemPlaceholderContainer" runat="server">
                    <td ID="itemPlaceholder" runat="server">
                    </td>
                </tr>
            </GroupTemplate>
            <InsertItemTemplate>
                <td runat="server" style="">
                    Tags: <asp:TextBox ID="TagsTextBox" runat="server" Text='<%# Bind("Tags") %>' />
                    <br />
                    <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                        Text="Insert" />
                    <br />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                        Text="Clear" />
                    <br />
                </td>
            </InsertItemTemplate>
            <ItemTemplate>
                <td runat="server" style="">
                <asp:HyperLink ID = "Image" NavigateUrl='<%# Eval("Tags", "SearchByTagView.aspx?Tags={0}") %>' runat="server">
                    &nbsp;<asp:Label ID="TagsLabel" runat="server" Text='<%# Eval("Tags") %>' />
                    </asp:HyperLink><br /></td></ItemTemplate><LayoutTemplate>
                <table runat="server">
                    <tr runat="server">
                        <td runat="server">
                            <table ID="groupPlaceholderContainer" runat="server" border="0" style="">
                                <tr ID="groupPlaceholder" runat="server">
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr runat="server">
                        <td runat="server" style="">
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
            <SelectedItemTemplate>
                <td runat="server" style="">
                    Tags: <asp:Label ID="TagsLabel" runat="server" Text='<%# Eval("Tags") %>' />
                    <br />
                </td>
            </SelectedItemTemplate>
        </asp:ListView>
        <asp:SqlDataSource ID="SqlDataSource7" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            
            
            SelectCommand="SELECT DISTINCT [Tags] from [Tags] where ID IN (SELECT  [Tag_FKID] FROM [SmartPhoneList_Tags] WHERE ([List_FKID] = ?))">
            <SelectParameters>
                <asp:QueryStringParameter Name="List_FKID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="SqlDataSource2" Height="165px" Width="191px" CssClass="PictureView">
            <Columns>
                <asp:ImageField DataImageUrlField="Picture">
                    <ControlStyle Height="300px" Width="300px" />
                    <HeaderStyle BorderStyle="None" />
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            SelectCommand="SELECT [ID], [Picture] FROM [SmartPhoneList] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource3">
        <AlternatingItemTemplate>
            <span style="">CompanyName: <asp:Label ID="CompanyNameLabel" runat="server" 
                Text='<%# Eval("CompanyName") %>' />
            <br />
            ModelNumber: <asp:Label ID="ModelNumberLabel" runat="server" 
                Text='<%# Eval("ModelNumber") %>' />
            <br />
            Colors: <asp:Label ID="ColorsLabel" runat="server" Text='<%# Eval("Colors") %>' />
            <br />
            <br />
            </span>
        </AlternatingItemTemplate>
        <EditItemTemplate>
            <span style="">CompanyName: <asp:TextBox ID="CompanyNameTextBox" runat="server" 
                Text='<%# Bind("CompanyName") %>' />
            <br />
            ModelNumber: <asp:TextBox ID="ModelNumberTextBox" runat="server" 
                Text='<%# Bind("ModelNumber") %>' />
            <br />
            Colors: <asp:TextBox ID="ColorsTextBox" runat="server" Text='<%# Bind("Colors") %>' />
            <br />
            <asp:Button ID="UpdateButton" runat="server" CommandName="Update" 
                Text="Update" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Cancel" />
            <br />
            <br />
            </span>
        </EditItemTemplate>
        <EmptyDataTemplate>
            <span>No data was returned.</span></EmptyDataTemplate><InsertItemTemplate>
            <span style="">CompanyName: <asp:TextBox ID="CompanyNameTextBox" runat="server" 
                Text='<%# Bind("CompanyName") %>' />
            <br />
            ModelNumber: <asp:TextBox ID="ModelNumberTextBox" runat="server" 
                Text='<%# Bind("ModelNumber") %>' />
            <br />
            Colors: <asp:TextBox ID="ColorsTextBox" runat="server" Text='<%# Bind("Colors") %>' />
            <br />
            <asp:Button ID="InsertButton" runat="server" CommandName="Insert" 
                Text="Insert" />
            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" 
                Text="Clear" />
            <br />
            <br />
            </span>
        </InsertItemTemplate>
        <ItemTemplate>
            <span style=""><b>Company Name:</b> <asp:Label ID="CompanyNameLabel" runat="server" 
                Text='<%# Eval("CompanyName") %>' />
            <br />
            <b>Model Number:</b> <asp:Label ID="ModelNumberLabel" runat="server" 
                Text='<%# Eval("ModelNumber") %>' />
            <br />
            <b>Colors:</b> <asp:Label ID="ColorsLabel" runat="server" Text='<%# Eval("Colors") %>' />
            <br />
            <br />
            </span>
        </ItemTemplate>
        <LayoutTemplate>
            <div ID="itemPlaceholderContainer" runat="server" style="">
                <span runat="server" id="itemPlaceholder" />
            </div>
            <div style="">
            </div>
        </LayoutTemplate>
        <SelectedItemTemplate>
            <span style=""><b>Company Name:</b> <asp:Label ID="CompanyNameLabel" runat="server" 
                Text='<%# Eval("CompanyName") %>' />
            <br />
            <b>Model Number:</b> <asp:Label ID="ModelNumberLabel" runat="server" 
                Text='<%# Eval("ModelNumber") %>' />
            <br />
            <b>Colors:</b> <asp:Label ID="ColorsLabel" runat="server" Text='<%# Eval("Colors") %>' />
            <br />
            <br />
            </span>
        </SelectedItemTemplate>
    </asp:ListView>
    </p>
    <p>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            SelectCommand="SELECT [CompanyName], [ModelNumber], [Colors] FROM [SmartPhoneList] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
&nbsp;&nbsp;&nbsp; </p><div 
        
        style="width:1px;height:98px; width: 300px; float:left;position:relative; left: 617px; top: -169px;"><asp:Panel ID="Panel3" runat="server">
            
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
             </asp:ToolkitScriptManager>
             <h1>OverAll Rating:  &nbsp <asp:Label ID="lbl_AvgRating" runat="server" Text=""></asp:Label>&nbsp&nbsp<asp:Image 
                    ID="Img_thumbsUp" runat="server" ImageUrl="~/Pictures/ThumbsUp.jpg" 
                    Height="40px" Width="43px" Visible="False"/>&nbsp&nbsp<asp:Image 
                    ID="Img_thumbsDwn" runat="server" ImageUrl="~/Pictures/Thumbsdown.jpg"  Height="40px" 
                    Width="43px" Visible="False"/></h1>
              <h3> Select the stars and click to rate!!</h3><asp:Rating  BorderWidth="1" BorderStyle="Solid"
                width="200" 
                Height="40" 
                ID="Rating1"  
                CurrentRating="2" 
                runat="server" 
                StarCssClass="ratingStar" 
                WaitingStarCssClass="savedRatingStar" 
                EmptyStarCssClass="emptyRatingStar" 
                filledStarCssClass="filledRatingStar"
                MaxRating="5" >
                </asp:Rating>
                <asp:Button ID="btn_Rate" runat="server" Text="Rate This Article" />&nbsp <asp:Label 
                ID="Rate_Value" runat="server"></asp:Label></asp:Panel></div><br/>
            <br/>
    <asp:Panel ID="Panel4" runat="server">
    <div    
        style="width:1px;height:155px; width: 924px; float:left;position:relative; left: -2px; top: 3px;"><asp:FormView ID="FormView1" runat="server" BackColor="#CCCCCC" 
            BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
            CellSpacing="2" DataSourceID="SqlDataSource5" ForeColor="Black" 
            GridLines="Both">
            <EditItemTemplate>
                
                <asp:TextBox ID="DescriptionTextBox" runat="server" 
                    Text='<%# Bind("Description") %>' />
                <br />
                <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                    CommandName="Update" Text="Update" />
                &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                    CausesValidation="False" CommandName="Cancel" Text="Cancel" />
            </EditItemTemplate>
            <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <InsertItemTemplate>
                
                <asp:TextBox ID="DescriptionTextBox" runat="server" 
                    Text='<%# Bind("Description") %>' />
                <br />
                <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                    CommandName="Insert" Text="Insert" />
                &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                    CausesValidation="False" CommandName="Cancel" Text="Cancel" />
            </InsertItemTemplate>
            <ItemTemplate>
                
                <asp:Label ID="DescriptionLabel" runat="server" 
                    Text='<%# Bind("Description") %>' />
                <br />

            </ItemTemplate>
            <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
            <RowStyle BackColor="White" />
        </asp:FormView>
        <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            SelectCommand="SELECT [Description] FROM [SmartPhoneList] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        </div>
    </asp:Panel>
    <br/>
    <br/>
    <br/>
    <br/>    
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <hr />
    <p style="font-family: cursive; font-size: x-large; text-decoration: underline; font-weight: bolder; font-style: normal; font-variant: normal; color: #0033CC; border: medium double #C0C0C0; height: 40px;">Comments</p><br/>
    <p>
    <br/>
    <br/>
    <br/>
    <br/>
        <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
            EmptyDataText="No Comments Added" ><Columns>
                <asp:BoundField DataField="Author" HeaderText="Author" 
                    SortExpression="Author" />
                <asp:BoundField DataField="DateUpdated" HeaderText="DateUpdated" 
                    SortExpression="DateUpdated" />
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:TemplateField 
                    HeaderText="Comments" SortExpression="Comments"><EditItemTemplate><asp:TextBox 
                            ID="TextBox1" runat="server" Text='<%# Bind("Comments") %>'></asp:TextBox></EditItemTemplate><ItemTemplate><asp:Label 
                            ID="Label1" runat="server" Text='<%# Bind("Comments") %>'></asp:Label></ItemTemplate><ItemStyle 
                        CssClass="CommentsStyle" /></asp:TemplateField></Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource6" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
            
            SelectCommand="SELECT [Author], [DateUpdated], [Title], [Comments] FROM [SmartPhoneList_Comments] WHERE ([List_FKID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="List_FKID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource6">
        <HeaderTemplate> </HeaderTemplate>
        </asp:Repeater>
    </p>
    <p style="font-family: cursive; font-size: x-large; text-decoration: underline; font-weight: bolder; font-style: normal; font-variant: normal; color: #0033CC; border: medium double #C0C0C0">
        Leave a comment</p><p></p>
    <asp:Panel ID="Panel1" runat="server" 
        BorderStyle="Solid" Height="364px" 
        Width="806px" BackColor="Silver"><br />
        You need to <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="~/Account/Login.aspx">Login</asp:HyperLink>&nbsp;or <asp:HyperLink ID="HyperLink2" runat="server" 
            NavigateUrl="~/Account/Register.aspx">Register</asp:HyperLink>&nbsp;to comment<br /> <br />Title:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="Tb_Title" runat="server" BorderStyle="Groove" Width="260px"></asp:TextBox><br /><br />Comment:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp<asp:TextBox ID="Tb_Comment" runat="server" BorderStyle="Groove" Height="139px" 
            TextMode="MultiLine" Width="524px"></asp:TextBox><br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button ID="Btn_Submit" runat="server" Text="Submit" Width="125px" />
        <br />
        <br />
        <br />
        &nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp; <br /><br /><br /><br /><br /><br /><br /><br /><br /></asp:Panel><p style="font-family: cursive; font-size: x-large; text-decoration: underline; font-weight: bolder; font-style: normal; font-variant: normal; color: #0033CC; border: medium double #C0C0C0">
        Add a Tag</p><p></p>
    <asp:Panel ID="Panel2" runat="server" 
        BorderStyle="Solid" Height="299px" 
        Width="821px" BackColor="Silver"><br/>Choose a tag (optional):<br/> <br/><asp:CheckBoxList 
        ID="chkList_Tag" runat="server" DataSourceID="SqlDataSource8" 
        DataTextField="Tags" DataValueField="ID" RepeatDirection="Horizontal" 
        RepeatLayout="Flow"></asp:CheckBoxList><asp:SqlDataSource 
        ID="SqlDataSource8" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionStringList %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionStringList.ProviderName %>" 
        SelectCommand="SELECT [ID], [Tags] FROM [Tags] ORDER BY [Tags]"></asp:SqlDataSource><br /><br /><br /><br />Want to add a new tag??(Optional)<br /> <br />Enter Here:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox 
        ID="Tb_newTags" runat="server" BorderStyle="Groove" Width="418px"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Seperate the tags by comma) <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button 
        ID="Btn_addTag" runat="server" Text="Tag It!" Width="125px" /><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br><br></br><br/><br/><br/></br/></asp:Panel>
</asp:Content>
